package com.example.pojo.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 账户类
 */
@NoArgsConstructor
@AllArgsConstructor
@Data
public class Account {

    @TableField("username")
    private String username;

    @TableField("password")
    private String password;

    @TableField("role")
    private String role;

    @TableField(exist = false)
    private String newPassword;

    @TableField(exist = false)
    private String token;
}